package com.kmv.master;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import com.kmv.RunnerI;
import com.kmv.Task;

/**
 *  
 */
public class RunnerImpl extends UnicastRemoteObject implements RunnerI {

    /**
     * @throws RemoteException
     */
    public RunnerImpl() throws RemoteException {
        super();
    }

    @Override
    public boolean runTask( Task task ) throws RemoteException {
        System.out.println( task.getCommand() );
        return true;
    }

}
